package com.hz.cheetahserver.config;

import org.springframework.boot.context.properties.ConfigurationProperties;

/**
 * Created by yangchuan on 17/2/17.
 */
@ConfigurationProperties(prefix = "rpc.registry")
public class ServerConfig {

    private String address;
    private String service;

    public String getAddress() {
        return address;
    }

    public void setAddress(String address) {
        this.address = address;
    }

    public String getService() {
        return service;
    }

    public void setService(String service) {
        this.service = service;
    }
}
